import request from '@/utils/request'

// 查询充值申请列表
export function listUplog(query,mark) {
  return request({
    url: '/biz/uplog/list/' + mark,
    method: 'get',
    params: query
  })
}

// 查询充值申请详细
export function getUplog(id) {
  return request({
    url: '/biz/uplog/' + id,
    method: 'get'
  })
}

// 新增充值申请
export function addUplog(data) {
  return request({
    url: '/biz/uplog',
    method: 'post',
    data: data
  })
}

// 修改充值申请
export function updateUplog(data) {
  return request({
    url: '/biz/uplog',
    method: 'put',
    data: data
  })
}

// 删除充值申请
export function delUplog(id) {
  return request({
    url: '/biz/uplog/' + id,
    method: 'delete'
  })
}

// 导出充值申请
export function exportUplog(query) {
  return request({
    url: '/biz/uplog/export',
    method: 'get',
    params: query
  })
}